package cn.aitrox.ry.service.auth.service;

import cn.aitrox.ry.bean.RespResult;
import cn.aitrox.ry.service.auth.dto.group.in.AuthGroupCreateInDto;
import cn.aitrox.ry.service.auth.dto.group.in.AuthGroupUpdateInDto;
import cn.aitrox.ry.service.auth.dto.group.out.AuthGroupDetailDto;

import java.util.List;

public interface AuthGroupService {
    RespResult<Integer> create(AuthGroupCreateInDto input);

    RespResult update(AuthGroupUpdateInDto input);

    RespResult<AuthGroupDetailDto> read(Integer id);

    RespResult delete(Integer id);

    List<AuthGroupDetailDto> all();
}
